package Others.DesignPattern.BuilderPattern.Pattern.Object;

public class PersonThinBuilder extends PersonBuilder {
    @Override
    public void buildHead() {
        System.out.println(" thin head"); // 头部
        product.setHead(" thin head");
    }

    @Override
    public void buildBody() {
        System.out.println(" thin body");
        product.setBody(" thin body");
    }

    @Override
    public void buildArmLeft() {
        System.out.println(" thin arm left");
        product.setArmLeft(" thin arm left");
    }

    @Override
    public void buildArmRight() {
        System.out.println(" thin arm right");
        product.setArmRight(" thin arm right");
    }

    @Override
    public void buildLegLeft() {
        System.out.println(" thin leg left");
        product.setLegLeft(" thin leg left");
    }

    @Override
    public void buildLegRight() {
        System.out.println(" thin leg right");
        product.setLegRight(" thin leg right");
    }
}
